package com.zy.hospitalward_management_system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zy
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工ID
     */
    @TableId(value = "staff_id", type = IdType.AUTO)
    private Integer staffId;

    /**
     * 登录用户名
     */
    private String staffUsername;

    /**
     * 登录密码
     */
    private String staffPassword;

    /**
     * 姓名
     */
    private String staffName;

    /**
     * 电话
     */
    private String staffPhone;

    /**
     * 年龄
     */
    private Integer staffAge;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 账户权限
     */
    private int staffGrade;
}
